package com.msh.platform.elm.dao;

import com.msh.platform.elm.entity.SellerInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SellerRepository extends JpaRepository<SellerInfo,Integer> {
	SellerInfo findByPhoneAndPasswd(String phone,String password);
	SellerInfo findByPhone(String phone);
	Page<SellerInfo> findByStatus(String status,Pageable pageable);
}
